package com.gopay.gass.service;

import com.gopay.gass.domain.GassMainOrder;
import com.gopay.gass.domain.GassOrderDtl;
import com.gopay.gass.exception.GassServiceException;

import java.util.List;

/**
 * Created by HJY on 2015/3/22.
 */
public interface GassOrderService {

    public GassMainOrder saveNewOrder(GassMainOrder main,GassOrderDtl dtl) throws GassServiceException;

    public void updateMainOrder(GassMainOrder order);

    public GassMainOrder getMainOrder(String gassId);

    public List<GassMainOrder> getNotifyOrderList();

    public GassMainOrder getMainOrder(String gopayOrderId,String orderSource);
}
